import request from '@/utils/request'

export function taskList(data) {
  return request({
    url: '/task/list',
    method: 'post',
    data
  })
}

export function taskCreate(data) {
  return request({
    url: '/task/create',
    method: 'post',
    data
  })
}

export function taskUpdate(data) {
  return request({
    url: '/task/update',
    method: 'post',
    data
  })
}
